Order tuples using external list in python

visit shbcf.ru